package com.marry.multidatasource.service;

import com.marry.multidatasource.mapper.bd.PledgeinfoMapper;
import com.marry.multidatasource.model.bd.Pledgeinfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ml
 * @create 2018-01-09--11:36
 */
@Service
public class PledgeinfoService {
    @Autowired
    PledgeinfoMapper pledgeinfoMapper;

    public List<Pledgeinfo> getPledgeinfoListByRealeunum(String realeunum){
        return pledgeinfoMapper.selectPledgeinfoListByRealeunum(realeunum);
    }
}
